package cate.game.activity.diamondbowl;

import cate.common.table.common.CommonExcel;
import cate.common.table.d.GDParamTool;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;
import lombok.experimental.UtilityClass;

@UtilityClass
@NoteClass("聚宝盆常量")
public class DiamondBowlConstants {
    @NoteField("储存钻石万分比")
    public static int STORE_DEGREE = 1000;

    /**
     * 从配置中读取常量
     *
     * @param common 通用配置
     */
    public static void loadFromTable(CommonExcel common) {
        STORE_DEGREE = GDParamTool.getInt(common.param, 4902, STORE_DEGREE);
    }
}
